package com.ruoyi.graduate.mapping;

import com.ruoyi.graduate.domain.entity.MsCommunityPost;
import com.ruoyi.graduate.domain.param.MsCommunityPostAddParam;
import com.ruoyi.graduate.domain.vo.MsCommunityPostUserPageVo;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

@Mapper
public interface MsCommunityPostMapping {

    MsCommunityPostMapping INSTANCE = Mappers.getMapper(MsCommunityPostMapping.class);

    List<MsCommunityPostUserPageVo> userList(List<MsCommunityPost> param);

    MsCommunityPost add(MsCommunityPostAddParam param);
}
